<template>
	<page-body>
		<view class="page">
			<view class="flex benben-position-layout flex flex-wrap align-center mance_flex_0"
				:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
				<view class='flex flex-wrap align-center justify-between flex-sub mance_fd0_0'>
					<view class='flex flex-wrap align-center mance_fd0_0_c0'>
						<text class='fu-iconfont2  mance_fd0_0_c0_c0' @tap.stop="handleJumpDiy" data-type="back"
							data-url="1">&#xE794;</text>
					</view>
					<view class='flex flex-wrap align-stretch justify-center'>
						<text class='mance_fd0_0_c1_c0'>{{ nameTitle }}</text>
					</view>
					<view class='flex flex-wrap align-center justify-end mance_fd0_0_c0'>
					</view>
				</view>
			</view>

			<view class="echarts-outer">
				<Echarts :nameTitle="nameTitle" :aid="aid"></Echarts>
			</view>


			<view :style="{height: (110+bottomSafeAreaRpx)+'rpx'}"></view>
		</view>
	</page-body>
</template>
<script>
	import Echarts from "./echarts.vue"
	export default {
		components: {
			Echarts
		},
		data() {
			return {
				"tabsInfofd2_1_c0": {
					lineleft: '',
					lineWidth: '',
					moveX: 0,
					scrollX: 0,
					PageScrollX: 0,
					isInit: false,

				},
				nameTitle: "",
				aid: ""
			};
		},
		mounted() {},
		computed: {},
		watch: {},

		onLoad(options) {
			this.nameTitle = options.name.length > 10 ? options.name.slice(0, 10) + '...' : name;
			this.aid = options.aid
		},
		onUnload() {

		},
		onReady() {

		},
		onShow() {

		},
		onHide() {

		},
		onResize() {

		},
		onPullDownRefresh() {

		},
		onReachBottom(e) {

		},
		onPageScroll(e) {

		},
		methods: {

		}
	};
</script>
<style lang="scss" scoped>
	.echarts-outer {
		width: 100%;
		background: #FFFFFF;
		margin-top: 95rpx;
		flex: 1;
	}

	.coursePro_flex_3 {
		width: 750rpx;
		height: 110rpx;
		overflow: hidden;
		z-index: 10;
		bottom: calc(0rpx + var(--window-bottom));
		background-color: #fff;

		.coursePro_fd3_0 {
			background: #145efd;
			width: 450rpx;
			height: 64rpx;
			line-height: 64rpx;
			font-size: 30rpx;
			color: #fff;
			border-radius: 44rpx;
			margin: 0 auto
		}
	}

	.page {
		width: 100vw;
		overflow-x: hidden;
		min-height: calc(100vh - var(--window-bottom));
		background: #F8F8F8;
		background-size: 100% auto;
		background-color: #F3F4F8;
		display: flex;

	}

	.mance_flex_0 {
		background: #fff;
		width: 750rpx;
		height: 88rpx;
		overflow: hidden;
		z-index: 10;
		top: 0rpx;
		background-size: 100% auto !important;
	}

	.mance_fd0_0_c1_c0 {
		font-size: 36rpx;
		font-weight: 700;
		color: #333333;
		line-height: 50rpx;
	}

	.mance_fd0_0_c0_c0 {
		font-size: 36rpx;
		color: #333;
	}

	.mance_fd0_0_c0 {
		width: 120rpx;
	}

	.mance_fd0_0 {
		padding: 0rpx 32rpx 0rpx 32rpx;
	}

	.overview {
		min-height: 500rpx;
		background-color: #fff;
		width: 100%;
		height: 100%;
		padding: 0 24px;
		overflow-y: auto;
		margin-top: 95rpx;

		.title {
			margin-top: 30rpx;
			font-weight: 600;
			font-size: 30rpx;
			color: #131D34;
			display: flex;
			align-items: center;
			margin-bottom: 6rpx;

			img {
				width: 46rpx;
				height: 46rpx;
				margin-right: 10rpx;
			}
		}

		.resources-outer {
			display: flex;
			flex-wrap: wrap;
			justify-content: space-between;

			.resources-item {
				width: 49%;
				height: 356rpx;
				background: #FFFFFF;
				box-shadow: 0rpx 3rpx 9rpx 1rpx rgba(0, 18, 80, 0.06);
				border-radius: 12rpx 12rpx 12rpx 12rpx;
				margin-top: 20rpx;

				.item-img {
					width: 340rpx;
					height: 192rpx;
					border-radius: 16rpx 16rpx 0rpx 0rpx;
				}

				.title {
					width: 296rpx;
					height: 80rpx;
					font-family: PingFang SC, PingFang SC;
					font-weight: 500;
					font-size: 28rpx;
					color: #131D34;
					line-height: 39rpx;
					text-align: left;
					font-style: normal;
					text-transform: none;
					margin-top: 16rpx;
					margin-left: 20rpx;
				}

				.jindu {
					font-weight: 400;
					font-size: 24rpx;
					color: #747E96;
					line-height: 33rpx;
					margin: 0 20rpx;

					span {
						font-weight: 400;
						font-size: 24rpx;
						color: #31CA91;
						margin-left: 12rpx;
					}
				}
			}
		}

		.cognition {
			display: flex;
			margin-left: 12rpx;
			padding-bottom: 32rpx;
			border-bottom: 1rpx solid #EEEEEE;
			margin-bottom: 32rpx;

			image {
				width: 36rpx;
				height: 36rpx;
			}

			.cognition-right {
				margin-left: 12rpx;

				.title-1 {
					font-weight: 500;
					font-size: 28rpx;
					color: #131D34;
					line-height: 40rpx;
				}

				.tag {
					margin-top: 24rpx;
					font-weight: 400;
					font-size: 24rpx;
					color: #FFFFFF;
					line-height: 33rpx;
					padding: 12rpx 30rpx;
					border-radius: 12rpx;
					width: fit-content;
				}
			}
		}

	}
</style>